<?php

/**
 * @author PeoneEr
 */
require_once "core/db.php";

class Mipforce1 extends DB {

    private $_query;

    protected function alreadyRestrict($ip) {
        /**
         * @param mixed $ip
         * @return true or false
         */
        DB::getInstance()->openConnectionToLS();
        $this->_query = "SELECT `ip_force` FROM `account_data` WHERE `ip_force` = '$ip'";
        return DB::getInstance()->sql($this->_query);
        DB::getInstance()->closeConnection();
        unset($this->_query);
    }

}

?>
